package com.browsesoft;

/**
 * 属性不存在异常
 */
public class PropertiesNotFoundException extends RuntimeException {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 属性对象
	 */
	private String tag;
	
	/**
	 * 属性名
	 */
	private String attributeName;
	
	public PropertiesNotFoundException(String tag, String attributeName) {
		super("属性不存在：对象=" + tag + ", 属性=" + attributeName);
		this.tag = tag;
		this.attributeName = attributeName;
	}

	public String getAttributeName() {
		return attributeName;
	}

	public String getTag() {
		return tag;
	}
}
